//
//  TwoDetailCell.m
//  LvXingPai
//
//  Created by mafang on 16/8/11.
//  Copyright © 2016年 _Junxee. All rights reserved.
//

#import "TwoDetailCell.h"

@interface TwoDetailCell ()


@property (weak, nonatomic) IBOutlet UILabel *aveaLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UIButton *checkButton;

@end

@implementation TwoDetailCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setDetailModel:(DetailModel *)detailModel
{
    _detailModel = detailModel;
    self.aveaLabel.text = [NSString stringWithFormat:@"地址:%@ %@",detailModel.country,detailModel.locality];
    self.timeLabel.text = [NSString stringWithFormat:@"游玩时长:%@",detailModel.timeCost];
    self.descLabel.text = detailModel.desc;
}

- (IBAction)checkAction:(UIButton *)sender
{
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
